import request from "@/utils/request";
// 获取视频标签
export const getVideocategory = params => {
  return request({
    method: "GET",
    url: "/video/category/list",
    params
  });
};
// 获取视频标签
export const getVideogroup = params => {
  return request({
    method: "GET",
    url: "/video/group/list",
    params
  });
};
// 获取分类视频
export const getVideogrouplist = params => {
  return request({
    method: "GET",
    url: "/video/group",
    params
  });
};
// 获取全部视频
export const getVideoAll = params => {
  return request({
    method: "GET",
    url: "/video/timeline/all",
    params
  });
};
// 获取视频详情
export const getVideoDetails = params => {
  return request({
    method: "GET",
    url: "/video/detail",
    params
  });
};
// 获取视频详情
export const getVideoUrl = params => {
  return request({
    method: "GET",
    url: "/video/url",
    params
  });
};
// 获取推荐视频
export const getVideorecommend = params => {
  return request({
    method: "GET",
    url: "/video/timeline/recommend",
    params
  });
};
